﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace halconMa
{
    public partial class Form1 : Form
    {
        HDevelopExport HD = new HDevelopExport();
        public Form1()
        {
            InitializeComponent();       
        }

        private void button1_Click(object sender, EventArgs e)
        {
            
            HD.RunHalcon(hWindowControl1.HalconWindow);
        }

        private void btnGraber_Click(object sender, EventArgs e)
        {
            HD.graberImage();
        }

        private void btnUpdate_Click(object sender, EventArgs e)
        {
            HD.updateImage();
        }

        private void btnMark_Click(object sender, EventArgs e)
        {
            HD.findMark();
        }
    }
}
